<div class="user_setting">
	<div class="box_tab">
		<ul class="tab clearfix">
			<li class="current"><?php echo __("Your Profile")?></li>
			<li><?php echo __("Login Information")?></li>
		</ul>
		<div class="box_tab_content">
			<div class="current">
				<form name="upload_photo_form"  class="upload_photo_form" method="post" enctype="multipart/form-data" action="/user/upload_photo">
					<div class="field">
						<input name="upload_file" type="file" class="upload_photo_file" style="display:none" data-requied="<?php echo __("Please select a image")?>" data-error="<?php echo __("Sorry, upload failed, please try again")?>">
						<input name="name" value="upload_file"  type="hidden">
						 <label class="field-label"><span class="red">*</span><?php echo __("Photo")?>:</label>
						<div class="field change_info clearfix">
					        <a class="img left change_photo" href="javascript:void(0)"><img  class="photo_img" src="<?php echo empty($userInfo['photo'])?'/media/images/photo.png':$userInfo['photo'];?>" width="48" height="48" /></a>
					    </div>
					</div>
				</form>
				<form class="profile_form" name="profile_form" method="POST">
			        <div class="field">
			            <label class="field-label"><span class="red">*</span><?php echo __("UserName")?>:</label>
			            <input class="field-text user_name" type="text" id="profile_user" name="user_name" value="<?php echo isset($userInfo['fullname'])?$userInfo['fullname']:"" ?>" />
			            <span class="error_msg" style="display:none"><?php echo __("Please Input the UserName")?></span>
			        </div>
			         <div class="field">
			            <label for="" class="field-label"><?php echo __("Your Introduction")?>:</label>
			            <textarea class="field-text about" name="about" id="profile_about" rows="3"><?php echo isset($userInfo['about'])?$userInfo['about']:""; ?></textarea>
			        </div>
			        <div class="btn-container clearfix btns">
				        <input class="btn btn_transition" id="saveProfile" data-success="<?php echo __("Saved successfully")?>" type="button" value="<?php echo __("Save")?>" />
				    </div>
			    </form>
			</div>
			<div>
				<form class="logininfo_form" name="logininfo_form" method="POST">
			        <div class="field">
			            <label class="field-label"><span class="red">*</span><?php echo __("Email")?>:</label>
			            <input  type="text" readonly="readonly" name="email" value="<?php echo isset($userInfo['email'])?$userInfo['email']:'' ?>"  class="field-text user_email" id="login_email" />
			            <span class="error_msg" style="display:none" data-requied="<?php echo __("Please Input the Email")?>" data-valid="<?php echo __("Please input a valid email address")?>"></span>
			        </div>
			         <div class="field">
			            <label for="" class="field-label"><span class="red">*</span><?php echo __("Current Password")?>:</label>
			            <input type="Password" name="old_password"  class="field-text" id="old_password" />
			            <span class="error_msg" style="display:none"><?php echo __("Please Input the Current Password")?></span>
			        </div>
			        <div class="field">
			            <label for="" class="field-label"><span class="red">*</span><?php echo __("New Password")?>:</label>
			            <input type="Password" name="new_password"  class="field-text new_password" id="new_password"/>
			             <span class="error_msg" style="display:none"><?php echo __("Please Input the New Password")?></span>
			        </div>
			       <div class="btn-container clearfix btns">
				        <input class="btn btn_transition" id="saveLogin" data-success="<?php echo __("Saved successfully")?>" type="button" value="<?php echo __("Save")?>" />
				    </div>
			    </form>
			</div>
		</div>
	</div>
</div>
